#ifndef _SERVICE_H
#define _SERVICE_H

#include "employee.h"
#include "department.h"

class Service
{

public:
	virtual bool addDept(Department& department) = 0; //增加部门
	virtual bool deleteDept(int id) = 0; //删除部门
	virtual void listDept(void) = 0; //列出部门
	virtual bool addEmp(Employee& employee,int dept_id) = 0; //增加员工
	virtual bool deleteEmp(int _id) = 0; //删除员工
	virtual bool modifyEmp(Employee& employee) = 0; //修改员工信息
	virtual void listEmp(int id) = 0; //列出部门员工
	virtual void listAllEmp(void) = 0; //列出所有员工
	virtual void myList(void) = 0;


};
#endif //_SERVICE_H